import { configureStore } from '@reduxjs/toolkit'
import { userSlice } from './user/userSlice'
import logger from 'redux-logger'

export const store = configureStore({
  reducer: {
    user:userSlice.reducer
  },
  middleware:getDefaulMiddlewares=>getDefaulMiddlewares().concat(logger)
})